package com.wzy.pojo;

public class ExternalPopulationInfo extends  ExternalPopulation {
    private ResidentialPass residentialPass;
    private UndocumentedWorkers undocumentedWorkers;

    public ResidentialPass getResidentialPass() {
        return residentialPass;
    }

    public void setResidentialPass(ResidentialPass residentialPass) {
        this.residentialPass = residentialPass;
    }

    public UndocumentedWorkers getUndocumentedWorkers() {
        return undocumentedWorkers;
    }

    public void setUndocumentedWorkers(UndocumentedWorkers undocumentedWorkers) {
        this.undocumentedWorkers = undocumentedWorkers;
    }

    @Override
    public String toString() {
        return  super.toString()+"\n"+residentialPass.toString()+"\n"+undocumentedWorkers.toString()+"\n\n\n";
    }
}
